﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("输入1-10");
            int key = Class1.Exception(true);
            switch (key) {
                case 1:
                    Class1.IsExist();
                    break;
                case 2:
                    Class1.Square();
                    break;
                case 3:
                    Class1.Exam();
                    break;
                case 4:
                    Class1.OfValue();
                    break;
                case 5:
                    Class1.Insert();
                    break;
                case 6:
                    Class1.FullSquare();
                    break;
                case 7:
                    Class1.Multiply();
                    break;
                case 8:
                    Class1.Rhombus();
                    break;
                case 9:
                    Class1.YangHui();
                    break;
                default:
                    Process.GetCurrentProcess().Kill();
                    break;
                    
            }
        }
    }
}
